package com.bugbuff.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum FreezingRangeEnum implements IEnum<Integer> {
    REGISTER(1,"冻结登录"),
    MAKE(2,"冻结发言"),
    STATE(3,"永久发布状态");

    private  int value ;
    private  String state;

    FreezingRangeEnum(int value, String state){
        this.value = value;
        this.state = state;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String  toString() {
        return this.state;
    }
}
